package org.particlethink.response;

import org.particlethink.model.Supplier;

import java.util.Date;

public class SupplierResponse {
    private int id;
    private String name;

    public SupplierResponse(Supplier supplier) {
        this.id = supplier.getId();
        this.name = supplier.getName();
    }

    public SupplierResponse() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

